package com.mt.roll.process.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mt.roll.process.vo.ProcessFlowVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: liguanghao
 * @Date: 2021/1/3 12:12
 * @Version 1.0
 */
@Repository
public interface ProcessFlowVoMapper extends BaseMapper<ProcessFlowVo> {
    ProcessFlowVo getProcessFlowVoById(@Param("id") Long id);
    List<ProcessFlowVo> getProcessFlowVoList(@Param("key") String key);
    IPage<ProcessFlowVo> getProcessFlowVoList(Page<?> page, @Param("key") String key);
}
